/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.emergency.plan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hopes.bizz.emergency.plan.dto.ErEmergencyPlanDTO;
import com.hopes.bizz.emergency.plan.entity.ErEmergencyPlanEntity;
import com.hopes.bizz.emergency.plan.vo.ErEmergencyPlanVO;
import com.hopes.boss.admin.api.entity.SysCompanyEntity;
import com.hopes.boss.common.core.util.R;

import java.util.List;

/**
 * 企业应急预案
 *
 * @author cx
 * @date 2023-10-26 11:07:16
 */
public interface ErEmergencyPlanService extends IService<ErEmergencyPlanEntity> {

    void handlerAudit(ErEmergencyPlanEntity erEmergencyPlan);

    R getPlanOverviewPage(Page<ErEmergencyPlanEntity> page);

    Object saveEnterprise(ErEmergencyPlanDTO erEmergencyPlan);

    Object updateEnterprise(ErEmergencyPlanDTO erEmergencyPlan);
}